<?php

class Persons extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
	}
	
	function index()
	{
		
	}
	
	function get($id)
	{
		$this->load->model('person_model');		
		echo json_encode($this->person_model->get_person($id));
	}
}